<template>
  <div>
    <TypeNav></TypeNav>
    <ListContainer></ListContainer>
    <Recommend></Recommend>
    <Rank></Rank>
    <Like></Like>
    <Fllor v-for="(item,index) in floorLists" :key="item.id" :list="item"></Fllor>
    <Brand></Brand>
  </div>
</template>

<script>
import ListContainer from "@/pages/Home/ListContainer";
import Recommend from "@/pages/Home/Recommend";
import Rank from "@/pages/Home/Rank";
import Like from "@/pages/Home/Like";
import Fllor from "@/pages/Home/Fllor";
import Brand from "@/pages/Home/Brand";
export default {
  data() {
    return {
      floorLists:[]
    };
  },
  components: {
    ListContainer,
    Recommend,
    Rank,
    Like,
    Fllor,
    Brand,
  },
  mounted() {
    this.$store.dispatch("getFloorList").then((res) => {
      this.floorLists = res
    });
    
  },
};

</script>

<style>
</style>